<?php
if ($read_contact->num_rows() > 0) {
    $ct = $read_contact->row();
}
?>
<div id="wrapper-content" >
    <table class="titrepage" width="100%">
        <tr>
            <td >Détail contact</td>
        </tr>
    </table>
<table align="center" width="100%" class="list">

    <tr>
        <td>Nom:</td>
        <td><?php echo $ct->firstname; ?></td>
    </tr>
    <tr>
        <td>Prénom:</td>
        <td><?php echo $ct->lastname; ?></td>
    </tr>
    <tr>
        <td>Email:</td>
        <td><?php echo $ct->lastname; ?></td>
    </tr>
    <tr>
        <td>Message:</td>
        <td>
            <textarea readonly="true" cols="40" rows="10" wrap="short">
                        <?php echo $ct->message; ?>
            </textarea>
        </td>
    </tr>
</table>
</div>
